package com.mrjy.common.dto;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


public class MyMessagesDto implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -1906384905088950519L;
	
	private int rows; // 每页记录条数
	private int page; // 分页页码
	private int pageStart; // 每页起始记录下标
	
	private Integer id; //评论id
	private String questionContent; //问题标题
	private String commentContent; //评论内容
	private Integer  questionId ; //问题id
	private Integer commentInfoId ; //评论Id
	private Integer readFlag ; //读取状态 0为未读；1为已读
	private Integer quoteCommentId;// 一级评论id
	private Integer status;//0：评论，1：回复 
	private Integer commentUserId; //评论人Id
	private String commentUserName; //评论人名称
	private Integer messagesType ;//消息类型 1：回答；2：评论；3：回复 ； 4：评论点赞 ； 5：问题点赞
	private Integer commentId ; //评论id （点赞表查询时使用）
	private Integer commentedId;//被评论人Id or 被点赞人的id 查询字段
	private Date createTime; //评论/点赞时间

    private BigDecimal askedPrice;
    private Integer isNeedPrivilege;
    //匿名标志
    private Integer isAnonymous;
    public int getPage() {
		return page;
	}

	public void setPage(int page) {
		this.page = page;
	}

	public int getRows() {
		return rows;
	}

	public void setRows(int rows) {
		this.rows = rows;
		this.pageStart = (page - 1) * rows; // 设置每页起始记录下标
	}

	public int getPageStart() {
		return pageStart;
	}

	public void setPageStart(int pageStart) {
		this.pageStart = pageStart;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getQuestionContent() {
		return questionContent;
	}

	public void setQuestionContent(String questionContent) {
		this.questionContent = questionContent;
	}

	public String getCommentContent() {
		return commentContent;
	}

	public void setCommentContent(String commentContent) {
		this.commentContent = commentContent;
	}

	public Integer getQuestionId() {
		return questionId;
	}

	public void setQuestionId(Integer questionId) {
		this.questionId = questionId;
	}

	public Integer getCommentInfoId() {
		return commentInfoId;
	}

	public void setCommentInfoId(Integer commentInfoId) {
		this.commentInfoId = commentInfoId;
	}

	public Integer getReadFlag() {
		return readFlag;
	}

	public void setReadFlag(Integer readFlag) {
		this.readFlag = readFlag;
	}

	public Integer getQuoteCommentId() {
		return quoteCommentId;
	}

	public void setQuoteCommentId(Integer quoteCommentId) {
		this.quoteCommentId = quoteCommentId;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getCommentUserId() {
		return commentUserId;
	}

	public void setCommentUserId(Integer commentUserId) {
		this.commentUserId = commentUserId;
	}

	public String getCommentUserName() {
		return commentUserName;
	}

	public void setCommentUserName(String commentUserName) {
		this.commentUserName = commentUserName;
	}

	public Integer getMessagesType() {
		return messagesType;
	}

	public void setMessagesType(Integer messagesType) {
		this.messagesType = messagesType;
	}

	public Integer getCommentedId() {
		return commentedId;
	}

	public void setCommentedId(Integer commentedId) {
		this.commentedId = commentedId;
	}

	public Integer getCommentId() {
		return commentId;
	}

	public void setCommentId(Integer commentId) {
		this.commentId = commentId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

    public BigDecimal getAskedPrice() {
        return askedPrice;
    }

    public void setAskedPrice(BigDecimal askedPrice) {
        this.askedPrice = askedPrice;
    }

    public Integer getIsNeedPrivilege() {
        return isNeedPrivilege;
    }

    public void setIsNeedPrivilege(Integer isNeedPrivilege) {
        this.isNeedPrivilege = isNeedPrivilege;
    }

	public Integer getIsAnonymous() {
		return isAnonymous;
	}

	public void setIsAnonymous(Integer isAnonymous) {
		this.isAnonymous = isAnonymous;
	}
    
}
